clc; clear

LR1 = csvread('legpressheavy');
N = size(LR1);
N = N(1);

fs = 786;
fss = fs/2;
ts= 1/fs;
tmax = (N-1)*ts;
t = 0:ts:tmax;

plot(t,LR1);

f = -fss:fs/(N-1):fss ;
z =fftshift(fft(LR1));


plot(f,abs(z));
